<template>
	<view>
		<image class="order-bg" mode="widthFix" :src="imageUrl +'list/bg-succ.jpg'"></image>
		<u-navbar leftText="支付成功" @rightClick="rightClick" :autoBack="true" placeholder :safeAreaInsetTop="true"
			:bgColor="bgColor">
		</u-navbar>
		<view class="wp">
			<view class="m-succ">
				<image class="img" mode="widthFix" :src="imageUrl +'list/ico-zfcg.png'"></image>
				<view class="txt">
					<view class="tit">
						支付成功
					</view>
					<view class="desc">
						恭喜您支付成功!
					</view>
				</view>
				<view class="btns" v-if="false">
					<navigator url="/pages/order/det2" hover-class="none" class="btn">查看详情</navigator>
					<navigator url="/pages/order/order" hover-class="none" class="btn btn2">返回订单</navigator>
				</view>
				<view class="btns">
					<button hover-class="none" class="btn btn2" @click="goHome">返回首页</button>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// 头部背景色
				bgColor: 'transparent',

			}
		},
		methods: {
			goHome() {
				uni.reLaunch({
					url: '/pages/index/index'
				})
			}
		}
	}
</script>

<style>

</style>